<!DOCTYPE html>
<html lang="en">
<head>
    #parse("/article/_common.html")
    <!--<title>$!{title} - $!{createUserName}</title>-->
    <title>$!{title}的博客</title>
</head>
<body>

${httpInclude.include('/article/header')}
<section class="container">
    #parse("/article/_tip.html")
    <div class="content-wrap">
        <div class="content">
            #if($page.list.size() gt 0)
            #foreach($li in $page.list)
            <article class="excerpt excerpt-nothumbnail">
                <header>
                    <!--文章所属分类-->
                    <a class="label label-important" href="">$!{li.categoryName}
                        <i class="label-arrow"></i>
                    </a>

                    <h2><a href="$!{ctx}/article/$!{li.fixedLink}" title="$!{li.title}">$!{li.title}</a></h2>
                    <!--文章标签-->
                    <span style="display:inline-block;margin-left: 20px;"><img src="$!{staticPath}/images/tags.png" width="25px"; height="25px">$!{li.tags}</span>
                </header>
                <!-- 文章图片-->
                <!--<div class="focus">
                    <a href="!{ctx}/article/$!{li.fixedLink}">
                        <img class="thumb" src="$!{staticPath}/images/zs.jpg" alt="$!{li.title}">
                    </a>
                </div>-->

                <a href="$!{ctx}/article/$!{li.fixedLink}">
                <span class="note">$!{li.summary}...
                </span>
                </a>
                <div style="margin-top: 15px">
                    <p class="auth-span">
                        <span class="muted"><i class="fa fa-user"></i>$!{li.createUserName}</span>
                        <span class="muted"><i class="fa fa-clock-o"></i>$!date.format("yyyy-MM-dd", ${li.createTime})</span>
                        <span class="muted"><i class="fa fa-eye"></i> $!{li.pv}℃</span>

                        <!--评论文章-->
                        <!--<span class="muted"><i class="fa fa-comments-o"></i> </span>-->

                        <!--喜欢文章-->
                        <!--<span class="muted">
	                    <a href="javascript:;" data-action="ding" data-id="1036" id="Addlike" class="action">
	                        <i class="fa fa-heart-o"></i>
	                        <span class="count">5</span>喜欢
	                    </a>
                    </span>-->
                    </p>
                </div>
            </article>
            #end
            #else
            <article class="excerpt excerpt-nothumbnail">
                <header>
                    <h2>博主还没有撰写此类文章哦</h2>
                </header>
            </article>
            #end
            <form>
                <input type="hidden" name="categoryId" value="$!{articleQuery.categoryId}">
                #parse("/article/_page.html")
            </form>
        </div>
    </div>
    ${httpInclude.include('/article/sidebar')}
</section>
#parse("/article/_footer.html")
</body>
</html>
